package com.zsy.bean;

import java.io.Serializable;

/**
 * 根据前缀抓取的配置文件，其中
 * @author zhouying
 *
 */
public class PrefixCrawlConfig implements Serializable {
	private int id; 
	private String site;  //网站信息
	private String prefix; //前缀信息
	private String bbsRegex; //判断抓取的url是否符合bbs的标准
	private String encode; //网站的编码方式
	private String structRegex;//判断页面是否是结构化界面的正则表达式
	private String beginUrl;//开始url
	private String host; //host主机信息
	private String cookie; //配置cookie信息， 某些网站需要配置cookie
	private int isBBS; //是否是bbs
	private int prefixId; //后添加 
	
	public int getPrefixId() {
		return prefixId;
	}
	public void setPrefixId(int prefixId) {
		this.prefixId = prefixId;
	}
	public String getBbsRegex() {
		return bbsRegex;
	}
	public void setBbsRegex(String bbsRegex) {
		this.bbsRegex = bbsRegex;
	}
	public int isBBS() {
		return isBBS;
	}
	public void setBBS(int isBBS) {
		this.isBBS = isBBS;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getSite() {
		return site;
	}
	public void setSite(String site) {
		this.site = site;
	}
	public String getPrefix() {
		return prefix;
	}
	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}
	public String getEncode() {
		return encode;
	}
	public void setEncode(String encode) {
		this.encode = encode;
	}
	public String getStructRegex() {
		return structRegex;
	}
	public void setStructRegex(String structRegex) {
		this.structRegex = structRegex;
	}
	public String getBeginUrl() {
		return beginUrl;
	}
	public void setBeginUrl(String beginUrl) {
		this.beginUrl = beginUrl;
	}
	public String getHost() {
		return host;
	}
	public void setHost(String host) {
		this.host = host;
	}
	public String getCookie() {
		return cookie;
	}
	public void setCookie(String cookie) {
		this.cookie = cookie;
	}
}
